package am.fp.events
{                           
  import flash.events.Event;
  
  public class SearchResultEvent extends Event
  {  
    public static const SELECT: String = "selectSearchResult";
    
    protected var m_pageNum: int;
    protected var m_beginIndex: int;
    protected var m_endIndex: int;
    public function get pageNum()   : int { return m_pageNum;    }
    public function get beginIndex(): int { return m_beginIndex; }
    public function get endIndex()  : int { return m_endIndex;   }
    
    public function SearchResultEvent(type: String, pageNum: int, beginIndex: int, endIndex: int)
    {
      m_pageNum = pageNum;
      m_beginIndex = beginIndex;
      m_endIndex = endIndex;
      super(type, false, false);
    }
  }
}
